let inputStr = process.argv[2]
let outputStr = inputStr.split('').reverse().join('')
console.log(outputStr)